package com.jtny.nytb.weather.entity.dto;

import com.jtny.component.entity.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@ApiModel("天气api信息DTO对象")
@Data
public class WeatherApiInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty("api名称")
    private String name;

    @ApiModelProperty("api接口类型")
    private Integer apiType;

    @ApiModelProperty("url地址")
    private String url;

    @ApiModelProperty("请求方式")
    private String requestType;

    @ApiModelProperty("是否免费(1是/2否)")
    private Integer isFree;

    @ApiModelProperty("请求频率")
    private String frequency;

    @ApiModelProperty("收费标准")
    private String charge;

    @ApiModelProperty("api接口专属key")
    private String apiKey;

    @ApiModelProperty("api接口账户名")
    private String username;

    @ApiModelProperty("api接口密码")
    private String password;

    @ApiModelProperty("接口过期时间")
    private String overTime;

}
